/*
 * Copyright (c) 2022-present Charles7c Authors. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package top.continew.admin.cakerun.model.entity;

import lombok.Data;

import com.baomidou.mybatisplus.annotation.TableName;
import top.continew.admin.common.base.model.entity.BaseDO;

import java.io.Serial;
import java.time.*;
import java.math.BigDecimal;

/**
 * 评论反馈实体
 *
 * @author tangyu
 * @since 2025/07/08 10:47
 */
@Data
@TableName("feedback_info")
public class FeedbackInfoDO extends BaseDO {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    private Integer shopId;

    /**
     * 
     */
    private Integer accountId;

    /**
     * 反馈ID
     */
    private String feedbackId;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 用户名
     */
    private String userName;

    /**
     * 用户头像URL
     */
    private String userAvatar;

    /**
     * 用户等级
     */
    private Integer userLevel;

    /**
     * 用户等级图标URL
     */
    private String userLevelIcon;

    /**
     * 是否为VIP（0/1）
     */
    private Boolean isVip;

    /**
     * 反馈内容
     */
    private String content;

    /**
     * 评分（1-5分）
     */
    private Integer score;

    /**
     * 精确评分（如4.5）
     */
    private BigDecimal accurateScore;

    /**
     * 细分评分（JSON格式）
     */
    private String subScores;

    /**
     * 反馈时间（时间戳）
     */
    private Long feedbackTime;

    /**
     * 点赞数
     */
    private Integer likeCount;

    /**
     * 查看数
     */
    private Integer viewCount;

    /**
     * 回复数
     */
    private Integer replyCount;

    /**
     * 是否为高质量评论（0/1）
     */
    private Boolean isHighQuality;

    /**
     * 商家名称
     */
    private String poiName;

    /**
     * 来源1（如“团购”）
     */
    private String showSource1;

    /**
     * 来源2（详细信息）
     */
    private String showSource2;

    /**
     * 投诉状态（-1表示投诉）
     */
    private Integer appealStatus;

    /**
     * 投诉状态名称
     */
    private String appealStatusName;

    /**
     * 是否有投诉（0/1）
     */
    private Boolean hasAppeal;

    /**
     * 业务时间
     */
    private LocalDate businessTime;
}
